#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2021/5/14 14:24
# @Author : 吴敬超
# explain:
import ast
import sys
import json
import logging
pycsjson = sys.argv[1]

# pycsjson='{"infile":"D:/ehlocean/data/TEMPSALT/B.E.13.B1850C5.ne120_t12.sehires38.003.sunway_02.rtm.h0.0022-02.nc","variablename":"QCHANR","outfile":"D:/fiecsv/BE/BE0022-02.csv"}'
print type(pycsjson)
# print ("pycsjson",pycsjson)
print "pycsjson is :"+pycsjson
# json_str = json.dumps(pycsjson)
csz=ast.literal_eval(pycsjson)
print csz
print "88888888888888type(csz)88888888888"

print type(csz)
print csz['outfile']

# csjx = json.loads(pycsjson)
# print csjx[1]
# print "****sssssssssssss**"

if __name__ == "__main__":

    print "****main**"
